package 尚硅谷.juc.test16;

public class ConditionDemo {

    public static void main(String[] args) {
        ShareData shareData=new ShareData();
        new Thread(()->{
            shareData.print5();
        }).start();
        new Thread(()->{
            shareData.print10();
        }).start();
        new Thread(()->{
            shareData.print15();
        }).start();
    }
}
